'use strict';

const Controller = require('egg').Controller;

class indexController extends Controller {
  async login() {
    const { ctx, service } = this;
    const token = await service.login.login();
    console.log(token, '我是token');
    ctx.body = token;// 获取多个的 url传值的
  }
}

module.exports = indexController;
